package net.xiangcaowuyu.cacheredis.entity;

import java.io.Serializable;

/**
 * @author laughing
 * @date 2020-10-10
 */
public class User implements Serializable {

    public String name;

    public int id;

    public User(int id, String name) {
        this.name = name;
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
